#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
char* GetMemory(void)
{
	char *p =(char*) malloc(100);
	 p = "hello world";
	return p;
}
void Test(void)
{
	char* str = NULL;
	str = GetMemory();
	printf(str);
}
int main()
{
	Test();
}